asymptotic notation gate questions